package Mediator;

public class DiamondMember extends Member{

    public DiamondMember(String name)
    {
        super(name);
    }


    @Override
    public void sendText(String to, String text) {
        System.out.println("钻石会员发送消息:");
        chatroom.sendText(name,to,text);
    }

    @Override
    public void sendImage(String to, String img) {
        System.out.println("钻石会员发送图片:");
        chatroom.sendImage(name,to,img);
    }
}
